package com.hp.teach.domain;

import com.hp.common.annotation.Excel;
import com.hp.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.persistence.Id;
import java.util.Date;

    
/**
 * 卫生表 teach_weisheng
 * 
 * @author hp
 * @date 2021-07-30
 */
public class TeachWeisheng extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 卫生编号 */
	@Id
	private Integer wid;
	/** 教室或者宿舍号码 */
	private String wno;
	/** 得分 */
	private Double wscore;
	/** 班主任编号 */
	private Integer wteacher;
	/** 班级编号 */
	private Integer wcid;
	/** 时间 */
	private Date wdate;
	/** 备注 */
	private String wbeizhu;

	/**班主任名称*/
	private String teacherName;

	/**班级名称*/
	private String className;


	public String getTeacherName() {
		return teacherName;
	}

	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public void setWid(Integer wid)
	{
		this.wid = wid;
	}

	public Integer getWid() 
	{
		return wid;
	}
	public void setWno(String wno) 
	{
		this.wno = wno;
	}

	public String getWno() 
	{
		return wno;
	}
	public void setWscore(Double wscore) 
	{
		this.wscore = wscore;
	}

	public Double getWscore() 
	{
		return wscore;
	}
	public void setWteacher(Integer wteacher) 
	{
		this.wteacher = wteacher;
	}

	public Integer getWteacher() 
	{
		return wteacher;
	}
	public void setWcid(Integer wcid) 
	{
		this.wcid = wcid;
	}

	public Integer getWcid() 
	{
		return wcid;
	}
	public void setWdate(Date wdate) 
	{
		this.wdate = wdate;
	}

	public Date getWdate() 
	{
		return wdate;
	}
	public void setWbeizhu(String wbeizhu) 
	{
		this.wbeizhu = wbeizhu;
	}

	public String getWbeizhu() 
	{
		return wbeizhu;
	}

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("wid", getWid())
            .append("wno", getWno())
            .append("wscore", getWscore())
            .append("wteacher", getWteacher())
            .append("wcid", getWcid())
            .append("wdate", getWdate())
            .append("wbeizhu", getWbeizhu())
            .toString();
    }
}
